const Controller = require('egg').Controller;

class HomeController extends Controller {
  * index() {
    const { ctx } = this;
    ctx.body = yield ctx.service.user.getAll(1, 10);
  }
}

module.exports = HomeController;
